<table style="border: 1px solid;">
    <tr><th>Request No.</th><th>Ad Id</th><th>Elapsed Time</th></tr>
<?php
    foreach ($aProfile AS $k => $v)
    {
?>
        <tr style="border:1px solid;"><td><?php echo $k; ?></td><td><?php echo $v['bannerid']; ?></td><td><?php echo $v['lapsed']; ?></td></tr>
<?php
    }
?>
</table>
